﻿namespace Microsoft.VisualStudio.BaseCustomTool
{
    using System;
    using System.Runtime.InteropServices;

    [ComImport, Guid("FC4801A3-2BA9-11CF-A229-00AA003D7352"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface IObjectWithSite
    {
        void SetSite([MarshalAs(UnmanagedType.Interface)] object pUnkSite);

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", MessageId = "1#"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1045:DoNotPassTypesByReference", MessageId = "0#")]
        void GetSite([In] ref Guid riid, [Out, MarshalAs(UnmanagedType.LPArray)] object[] ppvSite);
    }
}

